﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace work4
{
	class Program
	{
		static void Main(string[] args)
		{
			Teacher.TeaName = "唐僧";
			//有参
			Teacher NewTeacher = new Teacher("孙悟空");
			NewTeacher.Print();
			Teacher NewTeacher1 = new Teacher("猪八戒");
			NewTeacher1.Print();
			Teacher NewTeacher2 = new Teacher("某某某");
			NewTeacher2.Print();
			Teacher NewTeacher3 = new Teacher("沙和尚");
			NewTeacher3.Print();
			Teacher NewTeacher4 = new Teacher("白龙马");
			NewTeacher4.Print();


			//无参
			Teacher.TeaName = "嫦娥姐姐";
			NewTeacher.Print();
			NewTeacher1.Print();
			NewTeacher2.Print();
			NewTeacher3.Print();
			NewTeacher4.Print();













			Console.ReadKey();
		}
	}
}
